package cn.netbox.spring.dao.impl;

import cn.netbox.spring.dao.MyDao;
import cn.netbox.spring.pojo.Student;
import org.springframework.stereotype.Repository;

@Repository("wxyDaoImpl")
public class WXYDaoImpl implements MyDao {
    public void myMethodA() {
        System.out.println("调用DAO方法A");
    }

    public void insertStudent(Student student) {
        System.out.println("将"+ student + "插入数据库");
    }
}
